﻿using System;
using System.Collections.Generic;
using System.Text;
using Gtk;

namespace GtkSharpTutorial
{
    class ArrowInButton
    {
        public ArrowInButton(ArrowType arrow_type, ShadowType shadow_type, Box box)
        {
            /* 
             * Create an Arrow widget with the specified parameters
             * and pack it into a button 
             */

            Button button = new Button();
            Arrow arrow = new Arrow(arrow_type, shadow_type);

            button.Add(arrow);

            button.Show();
            arrow.Show();

            box.PackStart(button, false, false, 3);
        }
    }
}
